import 'package:flutter_nb_net/flutter_net.dart';

class VerificationCodeResp extends BaseNetModel {
  int? code;
  String? msg;
  VerificationCodeData? data;

  VerificationCodeResp({this.code, this.msg, this.data});

  @override
  fromJson(Map<String, dynamic> json) {
    return VerificationCodeResp(
      code: json['code'],
      msg: json['msg'],
      data: json['data'] == null ? null : VerificationCodeData().fromJson(json['data']),
    );
  }


}

class VerificationCodeData extends BaseNetModel {
  String? uuid;
  String? code;

  VerificationCodeData({this.uuid, this.code});

  @override
  dynamic fromJson(Map<String, dynamic> json) {
    return VerificationCodeData(
      uuid: json['uuid'],
      code: json['code'],
    );
  }
}